package com.teaphy.readlist.model;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author teaphy
 * @desc
 * @since 18:29
 */
@Component
@PropertySource("classpath:common.properties")
@ConfigurationProperties(prefix = "test")
public class ServiceSetting {

    // 名称
    private String name;

    // 域名地址
    private String domain;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }
}
